home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1384.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.5 KB  |  117 lines

  1. 104
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. PageSetupDlg 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baPageSetupDlg shows the system page setup dialog.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baPageSetupDlg( Flags )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. Integer 
  36. --- RECORDSEPARATOR ---
  37. Flags alters the behaviour of the dialog. See Notes for details.
  38. --- RECORDSEPARATOR ---
  39.  
  40. --- RECORDSEPARATOR ---
  41. Returns:
  42. --- RECORDSEPARATOR ---
  43.  
  44. --- RECORDSEPARATOR ---
  45. Integer 
  46. --- RECORDSEPARATOR ---
  47. Returns 1 if user selects OK, otherwise 0.
  48. --- RECORDSEPARATOR ---
  49.  
  50. --- RECORDSEPARATOR ---
  51. Examples:
  52. --- RECORDSEPARATOR ---
  53.  
  54. --- RECORDSEPARATOR ---
  55. Director: 
  56. --- RECORDSEPARATOR ---
  57. set ok = baPageSetupDlg( 1 ) 
  58. --- RECORDSEPARATOR ---
  59. Authorware: 
  60. --- RECORDSEPARATOR ---
  61. ok := baPageSetupDlg( 1 )
  62. --- RECORDSEPARATOR ---
  63.  
  64. --- RECORDSEPARATOR ---
  65. Notes:
  66. --- RECORDSEPARATOR ---
  67.  
  68. --- RECORDSEPARATOR ---
  69. This function does not do any printing - it just shows the dialog box. 
  70. --- RECORDSEPARATOR ---
  71. The return will be 1 if the user clicks the 'OK' button, or 0 if the user cancels. If the 
  72. --- RECORDSEPARATOR ---
  73. user clicks OK, then the selections the user has made in the dialog will be set as 
  74. --- RECORDSEPARATOR ---
  75. the default printer settings. You can retrieve these settings by using baPrinterInfo. 
  76. --- RECORDSEPARATOR ---
  77. The following flags are defined. 
  78. --- RECORDSEPARATOR ---
  79. --- RECORDSEPARATOR ---
  80. Disable the Printer button. 
  81. --- RECORDSEPARATOR ---
  82. --- RECORDSEPARATOR ---
  83. Disable the Orientation settings 
  84. --- RECORDSEPARATOR ---
  85. --- RECORDSEPARATOR ---
  86. Disable the Paper size selection 
  87. --- RECORDSEPARATOR ---
  88. --- RECORDSEPARATOR ---
  89. Hides the Network button 
  90. --- RECORDSEPARATOR ---
  91. 16 
  92. --- RECORDSEPARATOR ---
  93. Disable the margin settings 
  94. --- RECORDSEPARATOR ---
  95. 32 
  96. --- RECORDSEPARATOR ---
  97. Disable the page drawing icon 
  98. --- RECORDSEPARATOR ---
  99. These flags can be added together, eg baPageSetupDlg( 2 + 4 ) disables the 
  100. --- RECORDSEPARATOR ---
  101. orientation and paper size options.
  102. --- RECORDSEPARATOR ---
  103.  
  104. --- RECORDSEPARATOR ---
  105. See also:
  106. --- RECORDSEPARATOR ---
  107.  
  108. --- RECORDSEPARATOR ---
  109. baPrinterInfo 
  110. --- RECORDSEPARATOR ---
  111. baSetPrinter 
  112. --- RECORDSEPARATOR ---
  113. baPrinterDlg